/****************************************************
    Author:            龙之介
    CreatTime:    #CreatTime#
    Description:     Nothing
*****************************************************/

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using System;
using UnityEngine.UI;
using ZYKTool;
using System.Linq;



namespace LongZhiJie
{
	public class PlayerUpdateManger :MonoBehaviour
	{
        #region 常量
        private GunManger _GunManger;
        private GameObject _Player;
        #endregion

        #region 事件
        #endregion

        #region 字段
        #endregion


        #region 属性 
        #endregion


        #region 方法 
        private void Update()
        {
            Cursor.visible = false;
        }
        public void Init()
        {
            _Player = TapTapStaticValue.Player;
            _GunManger = _Player.transform.Find("Body").GetComponentInChildren<GunManger>();
            //TODO: 贺启亮初始化人物属性：TapTapStaticValue.PlayerAttributes=new PlayerAttributes()

        }
        public void UpdateShowUI()
        {
            //展示升级三个方向的UI
        }


        #endregion

        #region Unity回调
        #endregion

        #region 事件回调
        public void UpdatePlayerGun()
        {
            _GunManger.UpdateGun();
        }
        public void UpdatePlayerAttributes()
        {
            ///todo:贺启亮
            //_Player 
        }
        public void UpdatePlayerState()
        {
            ///todo:贺启亮
            //_Player
            //TapTapStaticValue.PlayerAttributes.Blood
        }
        #endregion

        #region 帮助方法
        #endregion

    }
}